%test.sce

vstr='1.2 1.3 1.4 1.5';
vres=zeros(4,1);
vsize=4;
  newformatstring='';
  formatmark='%f'
  for i=1:vsize
    formatstring=sprintf('%s %s',newformatstring,formatmark);
    newformatstring=formatstring;
  end
  
%[n,vres(1),vres(2)]=msscanf(2,"%f",vstr);
%nvres=sscanf(vstr,formatstring);
nvres=stringtovec(vstr,vsize)
name='v1';
n=vsize;
value=vec2cellarray(nvres)'
value={1,2,3,4}'
elist=iome('localhost',8080,0)
iflag=7;
  
    server='localhost';
    port=8080;
    id=0;

% Build up the argument lists.
values = { ...
   id, ...
   name, ...
   value, ...
   n, ...
   iflag, ...
   };
names = { ...
   'id', ...
   'name', ...
   'value', ...
   'n', ...
   'iflag', ...
   };
types = { ...
   '{http://www.w3.org/2001/XMLSchema}int', ...
   '{http://www.w3.org/2001/XMLSchema}string', ...
   'Array', ...
   '{http://www.w3.org/2001/XMLSchema}int', ...
   '{http://www.w3.org/2001/XMLSchema}int', ...
   };

% Create the message, make the call, and convert the response into a variable.
soapMessage = createSoapMessage( ...
    'urn:IoSteerWS', ...
    'addparamvec', ...
    values,names,types,'rpc'); 